package com.ruoyi.weixin.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 收件地址对象 wx_address
 * 
 * @author cloudoer
 * @date 2019-09-09
 */
public class Address extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 地址ID */
    private String addressId;

    /** 客户ID */
    @Excel(name = "客户ID")
    private String clientId;

    /** 收件人名称 */
    @Excel(name = "收件人名称")
    private String userName;

    /** 收件人电话 */
    @Excel(name = "收件人电话")
    private String telNumber;

    /** 省 */
    @Excel(name = "省")
    private String provinceName;

    /** 市 */
    @Excel(name = "市")
    private String cityName;

    /** 区县 */
    @Excel(name = "区县")
    private String countyName;

    /** 详细地址 */
    @Excel(name = "详细地址")
    private String detailInfo;

    /** 邮政编码 */
    @Excel(name = "邮政编码")
    private String postalCode;

    /** $column.columnComment */
    @Excel(name = "邮政编码")
    private String nationalCode;

    /** 是否是默认 */
    @Excel(name = "是否是默认,1代表默认,0代表不是默认")
    private String isDefault;

    /** 状态 */
    @Excel(name = "状态")
    private String state;

    public void setAddressId(String addressId) 
    {
        this.addressId = addressId;
    }

    public String getAddressId() 
    {
        return addressId;
    }
    public void setClientId(String clientId) 
    {
        this.clientId = clientId;
    }

    public String getClientId() 
    {
        return clientId;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }
    public void setTelNumber(String telNumber) 
    {
        this.telNumber = telNumber;
    }

    public String getTelNumber() 
    {
        return telNumber;
    }
    public void setProvinceName(String provinceName) 
    {
        this.provinceName = provinceName;
    }

    public String getProvinceName() 
    {
        return provinceName;
    }
    public void setCityName(String cityName) 
    {
        this.cityName = cityName;
    }

    public String getCityName() 
    {
        return cityName;
    }
    public void setCountyName(String countyName) 
    {
        this.countyName = countyName;
    }

    public String getCountyName() 
    {
        return countyName;
    }
    public void setDetailInfo(String detailInfo) 
    {
        this.detailInfo = detailInfo;
    }

    public String getDetailInfo() 
    {
        return detailInfo;
    }
    public void setPostalCode(String postalCode) 
    {
        this.postalCode = postalCode;
    }

    public String getPostalCode() 
    {
        return postalCode;
    }
    public void setNationalCode(String nationalCode) 
    {
        this.nationalCode = nationalCode;
    }

    public String getNationalCode() 
    {
        return nationalCode;
    }
    public void setIsDefault(String isDefault)
    {
        this.isDefault = isDefault;
    }

    public String getIsDefault()
    {
        return isDefault;
    }
    public void setState(String state)
    {
        this.state = state;
    }

    public String getState()
    {
        return state;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("addressId", getAddressId())
            .append("clientId", getClientId())
            .append("userName", getUserName())
            .append("telNumber", getTelNumber())
            .append("provinceName", getProvinceName())
            .append("cityName", getCityName())
            .append("countyName", getCountyName())
            .append("detailInfo", getDetailInfo())
            .append("postalCode", getPostalCode())
            .append("nationalCode", getNationalCode())
                .append("isDefault", getIsDefault())
                .append("state", getState())
            .toString();
    }
}
